Platform Explorer / Nuxeo Platform LTS 2017 9.10

Component org.nuxeo.ecm.platform.search.default.types

Contributions

XML Source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.search.default.types">

  <require>org.nuxeo.ecm.core.schema.TypeService</require>
  <require>org.nuxeo.ecm.core.CoreExtensions</require>
  <require>org.nuxeo.ecm.platform.search.CoreExtensions</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
    <schema name="default_search" prefix="defaults" src="schemas/default_search.xsd" />
  </extension>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">

    <!-- For default search -->
    <doctype name="DefaultSearch" extends="SavedSearch">
      <facet name="ContentViewDisplay" />
      <schema name="default_search" />
    </doctype>

    <doctype name="ExpiredSearch" extends="SavedSearch">
      <schema name="expired_search" />
    </doctype>

  </extension>

  <extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" point="types">
    <types>
      <type name="DefaultSearch">default</type>
    </types>
  </extension>

</component>